#pragma once

#include "SpriteNode.h"

class Square
{
protected:
	int state;
	SpriteInfo sInfo;
	SpriteNode sNode;
public:
	void setPos(XY pos)		{sInfo.pos = pos;}
public:
	void InitSprite(SpriteInfo);
	inline void setState(int newState)	{state = newState;}
	virtual void Draw()=0;
};